<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="content_left">
    <h2>Our Tean</h2>
    <p>
        dsdsds
    </p>
</div>
<div class="content_right">
    <h2>Services</h2>
    <p>
        dsdsds
    </p>
</div>
<div class="contents">
    <h2>New Post</h2>
    <c:forEach items="${newpost}" var="newpost">
        <div class="post_item">
            <div class="post_img">
                <img src="/JudiBlog/img/post/${newpost.getPathImage()}"/>
            </div>
            <div class="post_description">
                <h2><a href="/JudiBlog/Page?p=post_view&id=${newpost.getPostID()}">${newpost.getTitle()}</a></h2>
                <ul>
                    <li class="user">${newpost.getUser().getFullName()}</li>
                    <li class="date">${newpost.getPostDate()}</li>
                    <li class="label">${newpost.getCategory().getCatName()}</li>
                </ul>
                <p>${newpost.getPathContent()}</p>
            </div>
        </div>
    </c:forEach>
</div>